/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package poker.game;

/**
 * A class to contain all possible necessary parts of the state of a game.
 * The designated Learner can then choose what parts it needs.
 *
 * The table is all information a poker player has access to.
 *
 * The table is *only* the shared data between players.
 * 
 * @author Benjamin L. Brodie <blbrodie@gmail.com>
 */
public class Table {
    private int player1bet = 0;
    private int player2bet = 0;
    private int stage = 0; //Might change this to an enum!
    
    public void update(int player1bet, int player2bet, int stage){
        this.player1bet = player1bet;
        this.player2bet = player2bet;
        this.stage = stage;
    }

    /*
     * getters
     *
     */

    /**
     *
     * @return player 1 bet
     */
    public int getPlayer1Bet(){
        return player1bet;
    }

    /**
     *
     * @return player 2 bet
     */
    public int getPlayer2Bet(){
        return player2bet;
    }

    /**
     *
     * @return the entire table pot
     */
    public int getFullPot(){
        return player1bet + player2bet;
    }

    /**
     *
     * @return where the game is at
     */
    public int getStage(){
        return stage;
    }

    


}
